package com.hotelManagerSystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author treasy
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StaffRole implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 职员角色ID
     */
    @TableId(value = "staff_role_id", type = IdType.AUTO)
    private Integer staffRoleId;

    /**
     * 职员ID
     */
    private Integer staffId;

    /**
     * 角色ID
     */
    private Integer roleId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getStaffRoleId() {
        return staffRoleId;
    }

    public void setStaffRoleId(Integer staffRoleId) {
        this.staffRoleId = staffRoleId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
